package cn.itcast.day04.demo01;

import java.util.Scanner;

public class Demo02ScannerSum {
    public static void main(String[] args) {
        System.out.println("请输入两个数字:");
        Scanner sc = new Scanner(System.in);
        int a=sc.nextInt();
        int b=sc.nextInt();
        int result=a+b;
        System.out.println("结果是:"+result);
    }
}
